package com.supms.patrol.domain;

import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 巡考情况记录对象 supm_tour_test
 * 
 * @author LiangHao
 * @date 2022-03-15
 */
public class TourTest extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Long id;

    /** 考试开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "考试开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date startTime;

    /** 考试结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "考试结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date endTime;

    /** 巡考区域 */
    @Excel(name = "巡考区域")
    private String tourArea;

    /** 巡考员 */
    @Excel(name = "巡考员")
    private String supName;

    /** 巡考记录标记（0表未记录，1表已记录） */
    private String tourTestEvalFlag;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    /** 巡考项表 */
    private List<TourTestItems> tourTestItems;

    public List<TourTestItems> getTourTestItems() {
        return tourTestItems;
    }

    public void setTourTestItems(List<TourTestItems> tourTestItems) {
        this.tourTestItems = tourTestItems;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setStartTime(Date startTime) 
    {
        this.startTime = startTime;
    }

    public Date getStartTime() 
    {
        return startTime;
    }
    public void setEndTime(Date endTime) 
    {
        this.endTime = endTime;
    }

    public Date getEndTime() 
    {
        return endTime;
    }
    public void setTourArea(String tourArea) 
    {
        this.tourArea = tourArea;
    }

    public String getTourArea() 
    {
        return tourArea;
    }
    public void setSupName(String supName) 
    {
        this.supName = supName;
    }

    public String getSupName() 
    {
        return supName;
    }
    public void setTourTestEvalFlag(String tourTestEvalFlag) 
    {
        this.tourTestEvalFlag = tourTestEvalFlag;
    }

    public String getTourTestEvalFlag() 
    {
        return tourTestEvalFlag;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("startTime", getStartTime())
            .append("endTime", getEndTime())
            .append("tourArea", getTourArea())
            .append("supName", getSupName())
            .append("tourTestEvalFlag", getTourTestEvalFlag())
            .append("createBy", getCreateBy())
            .append("updateBy", getUpdateBy())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .append("tourTestItems", getTourTestItems())
            .toString();
    }
}
